<?php
defined('IN_TS') or die('Access Denied.');

$type = intval($_GET['type']);

$cover=SITE_URL.'public/images/logo300.png';

$strGroup = aac('group')->findAll('group','isplace=2 and status<>0','addtime asc');
$strCity = array();
foreach($strGroup as $v){
    if($v['province']=='北京'||$v['province']=='上海'||$v['province']=='天津'||$v['province']=='重庆'){
            $v['city'] = $v['province'];
    }
    if(!in_array($v['city'],$strCity)){
       $strCity[] = $v['city'];

    }
}
$cities = implode('/',$strCity);

if($type==1){
    include template("welcome1");
}else{
    include template("welcome");
}

